package com.xxh.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxh.blog.entity.User;
import org.springframework.stereotype.Component;

@Component("UserDao")
public interface UserDao extends BaseMapper<User> {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}